package com.ljt.service;

import com.ljt.entity.BlogEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by wb-ljt251780 on 2017/7/19.
 */
public interface BlogService {
    public Page<BlogEntity> findAll(Pageable pageable);

    public BlogEntity findById(Long id);

    void saveOrUpdate(BlogEntity blogEntity);
}
